lua: avoid truncation of large numeric values
authorAlin Nastac <[email protected]>
Mon, 3 Feb 2020 12:58:04 +0000 (13:58 +0100)
committerJo-Philipp Wich <[email protected]>
Sun, 15 Mar 2020 19:49:27 +0000 (20:49 +0100)
commit171469e3138cce191892e20b6fd35b52c9368064
treef0328e51b20ea12918a0454322149660895e4bc1
parentd35df8adda873dc75d876f72b78e84db8cfa72ee
lua: avoid truncation of large numeric values

If the Lua number exceeds the maximum value representable by an
unsigned 32bit integer, store it in an unsigned 64bit integer
field instead.

Signed-off-by: Alin Nastac <[email protected]>
[align code style, reword commit message]
Signed-off-by: Jo-Philipp Wich <[email protected]>
lua/ubus.c